Mark the text of the location label as translatable.
authorMatthias Clasen <mclasen@redhat.com>
Mon, 17 Jul 2006 03:17:24 +0000 (03:17 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 17 Jul 2006 03:17:24 +0000 (03:17 +0000)
2006-07-16  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (browse_widgets_create): Mark
the text of the location label as translatable.

ChangeLog
ChangeLog.pre-2-10
gtk/gtkfilechooserdefault.c

index 818b9549a5ce37a46b2c422b8ee16d3537cd74f6..d478461c586e1f8fb8ec70873d522a2a00883ca6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-07-16  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkfilechooserdefault.c (browse_widgets_create): Mark
+       the text of the location label as translatable.  
+
        * gtk/gtkprintjob.c (gtk_print_job_send): Fix a typo in 
        the docs.  (#347211, Kouhei Sutou)   
 
index 818b9549a5ce37a46b2c422b8ee16d3537cd74f6..d478461c586e1f8fb8ec70873d522a2a00883ca6 100644 (file)
@@ -1,5 +1,8 @@
 2006-07-16  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkfilechooserdefault.c (browse_widgets_create): Mark
+       the text of the location label as translatable.  
+
        * gtk/gtkprintjob.c (gtk_print_job_send): Fix a typo in 
        the docs.  (#347211, Kouhei Sutou)   
 
index 98c0aa18c34fc4df2393b8ce4fe8fbeb9b7acd19..d52459efe7b218f1943cb2d4095f78de0a4dda69 100644 (file)
@@ -4521,6 +4521,7 @@ browse_widgets_create (GtkFileChooserDefault *impl)
   GtkWidget *hpaned;
   GtkWidget *widget;
   GtkSizeGroup *size_group;
+  gchar *text;
 
   /* size group is used by the [+][-] buttons and the filter combo */
   size_group = gtk_size_group_new (GTK_SIZE_GROUP_VERTICAL);
@@ -4551,8 +4552,10 @@ browse_widgets_create (GtkFileChooserDefault *impl)
 
   impl->location_entry_box = gtk_hbox_new (FALSE, 12);
   gtk_box_pack_start (GTK_BOX (vbox), impl->location_entry_box, FALSE, FALSE, 0);
-
-  impl->location_label = gtk_label_new_with_mnemonic ("<b>_Location:</b>");
+  
+  text = g_strconcat ("<b>", _("_Location:"), "</b>", NULL);
+  impl->location_label = gtk_label_new_with_mnemonic (text);
+  g_free (text);
   gtk_label_set_use_markup (GTK_LABEL (impl->location_label), TRUE);
   gtk_widget_show (impl->location_label);
   gtk_box_pack_start (GTK_BOX (impl->location_entry_box), impl->location_label, FALSE, FALSE, 0);